package apis

import (
	"gitee.com/yanxinfire/geektime-week2-error/apis/user"
	"gitee.com/yanxinfire/geektime-week2-error/cmd/config"
	"github.com/go-kratos/kratos/v2/transport/http"
)

var HttpSrv = http.NewServer(http.Address(config.Config.ServerAddr))

func init()  {
	HttpSrv.HandlePrefix("/", user.Router)
}
